<?php
$pwExpireDays = CUserAuth::getPasswordExpireDays();
if($pwExpireDays < 7) {
    $pwExDaysOut = "<span style='color: #f00;'>$pwExpireDays</span>";
} else {
    $pwExDaysOut = "<span>$pwExpireDays</span>";
}
?>
<b><?php echo $_SESSION['vorname']; ?> <?php echo $_SESSION['name']; ?> (userID=<?php echo $_SESSION['userID']; ?>) </b> (<a href="index.php?logout">abmelden</a>) - Passwort ist noch <?=$pwExDaysOut?> Tag(e) g&uuml;ltig (<a href="changePassword.php?action=edit">&auml;ndern</a>)
